import React from 'react';
import { Breadcrumb } from 'antd';
function ApplyList(props: any) {
  const { name, path } = props.route;
  const rot = [
    { name: '首页', path: '/' },
    { name: '门店', path: '/storeAllStore' },
    { name: name, path: path },
  ];
  return (
    <div>
      <Breadcrumb>
        {rot.map((e) => (
          <Breadcrumb.Item key={e.name}>
            <a href={e.path}>{e.name}</a>
          </Breadcrumb.Item>
        ))}
      </Breadcrumb>
      申请列表
    </div>
  );
}

export default ApplyList;
